.news-content {}

.news-item-box {
    max-width: var(--max-width);
    margin: 20px auto;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    box-sizing: border-box;
    padding: 0 20px;
    gap: 20px;
}

.news-item {
    width: calc(33.333% - 20px);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
}

.news-item>div:first-of-type {
    overflow: hidden;
    width: 100%;
}

.news-item>div:first-of-type>img {
    cursor: pointer;
    transition: all 0.3s;
}

.news-item>div:first-of-type:hover>img {
    transform: scale(1.1, 1.1);
}

.news-item>div:last-of-type {
    background-color: #ffffff;
    box-sizing: border-box;
    padding: 20px;
}

.news-item>div:last-of-type>.news-item-title {
    font-size: 18px;
    font-weight: bold;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    cursor: pointer;
    transition: all 0.3s;
}

.news-item>div:last-of-type>.news-item-title:hover {
    color: #1559ED;
}

.news-item>div:last-of-type>.news-item-content {
    font-size: 14px;
    color: #3A4F66;
    overflow: hidden;
    text-overflow: ellipsis;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    margin-top: 20px;
}

.news-item>div:last-of-type>.news-item-time {
    font-size: 12px;
    font-weight: bold;
    color: #934F66;
    margin-top: 20px;
}

@media screen and (max-width:1000px) {
    .news-item {
        width: calc(50% - 20px);
    }
}

@media screen and (max-width:690px) {
    .news-item-box {
        box-sizing: border-box;
        padding: 0 20px;
    }

    .news-item {
        width: 100%;
    }
}